namespace STOWaybillMall.Core
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using TongTongMall.Domain.Repositories.Attributes;

    [Table("ProductDetailTemplate")]
    public partial class ProductDetailTemplate
    {
        [Identify]
        [Column(Order = 0)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long TemplateID { get; set; }

        [Identify]
        [Column(Order = 1)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long ProductBaseID { get; set; }

        [Identify]
        [Column(Order = 2)]
        public byte Postion { get; set; }

        public int Sort { get; set; }
    }
}
